package exsun.jt808.data.media.data;

import java.util.Calendar;

public class CloseVideoRecord {
    private String phoneNum;
    private int channel;
    private Calendar closeTime;
    /**
     * 1 实时， 2 历史
     */
    private MediaStreamType type;

    public CloseVideoRecord(String phoneNum, int channel, MediaStreamType type){
        this.phoneNum = phoneNum;
        this.channel = channel;
        this.type = type;
        this.closeTime = Calendar.getInstance();
    }

    public String getPhoneNum() {
        return phoneNum;
    }

    public void setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum;
    }

    public int getChannel() {
        return channel;
    }

    public void setChannel(int channel) {
        this.channel = channel;
    }

    public Calendar getCloseTime() {
        return closeTime;
    }

    public void setCloseTime(Calendar closeTime) {
        this.closeTime = closeTime;
    }

    public MediaStreamType getType() {
        return type;
    }

    public void setType(MediaStreamType type) {
        this.type = type;
    }
}
